package com.jack.lib.base

import android.content.Context
import android.content.Intent
import android.content.res.Configuration
import android.content.res.Resources
import android.os.Bundle

/**
 * author : chong.huang
 * create : 2022/3/28
 * desc   :
 */
interface IAttributesCallback {

    fun getResources(resources: Resources) { }

    fun attachBaseContext(newBase: Context) { }

    fun onConfigurationChanged(newConfig: Configuration) { }

    fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { }

    fun onAttachedToWindow() { }

    fun onDetachedFromWindow() { }

    fun onSaveInstanceState(outState: Bundle) = { }

    fun onRestoreInstanceState(savedInstanceState: Bundle) = { }

}